package com.sjm.bookshop.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;


import java.util.Date;

@Data
public class Cart {
//    @TableId(value="cartId", type = IdType.AUTO)
    @TableField("cartId")
    private int cartId;
    @TableField("u_id")
    private int u_id;
    @TableField("b_id")
    private int b_id;
    @TableField("cartNum")
    private int cartNum;
    @TableField("add_time")
    private Date add_time;
}
